<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand" />
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
<title>精准微课堂-班级-学生</title>
<%@ include file="/common/commonLib.jsp"%>
<link rel="stylesheet" type="text/css" href="<c:url value='/css/class-index.css'/>" />
<link rel="stylesheet" type="text/css" href="<c:url value='/css/common-main.css'/>"/>
<script src="<c:url value='/js/class-index.js'/>" type="text/javascript" charset="utf-8"></script>
</head>
<body>
		<%@include file="/common/header.jsp"%>
		<div class="container-fluid main">
			<%@include file="common/classHeader.jsp"%>
			<div class="row class-index-con">
				<div class="col-md-9 col-lg-9">
					<div class="row">
						<div class="class-index-con-list">
							<ul>
								<li class="class-room"><a href="<c:url value='/lesson/listView?id=${param.id}'/>">课堂</a></li>
								<li class="class-stu"><a href="<c:url value='/cscontrol/listView?id=${param.id}'/>" style="color:#00b43c;">学生</a></li>
							</ul>
						</div>
					</div>
					<div class="row">
						<div class="class-index-con-content">
							
							<!--已加入大班学生列表-->
							<div class="student-bigclass">
								<%@include file="classHasInBigClass.jsp"%>
							</div>
							
							<!--已加入小班学生列表-->
							<div class="student-smallclass">
								<%@include file="classHasInSmallClass.jsp"%>
							</div>
							
							
						</div>
					</div>
				</div>
				
				<!--小班列表 -->
				<div class="col-md-3">
					<%@include file="common/classRight.jsp"%>
				</div>
			</div>
		</div>
		
		<!--将要添加大班学生-->
		<div class="addstu-bigclass">
			<%@include file="classAddBigStudent.jsp"%>
		</div>
		
		<!--将要添加小班学生列表弹出框-->
		<div id="addstudent" style="display:none;font-size:1.6rem;">
			<%@include file="classAddSmallStudent.jsp"%>
		</div>
		
		<!--将要导入大班学生名单弹出框-->
		<div id="upload-student-page">
			<%@include file="classUploadStudentList.jsp"%>
		</div>
		
		<%@include file="/common/footer.jsp"%>
	</body>
<script>
var data=${data};
$(document).ready(function(){
	if (data.status != "success"){
		layer.alert(data.message);
		return;
	}
	
	initPage();
	initStudentList();
});
$(function(){
	$("#navCourseName").attr("href",CONTEXT_PATH + "task/list?courseId=" + data.data.classView.courseId);	
});

var isEmpty=function(s){
	if(s==null||s=="" || s==undefined){
		return true;
	}
	return false;
}

</script>
</html>